be143e50e3d183ecf028f1cc9c24adabc7c3be39,src/main/java/de/thm/arsnova/dao/CouchDBDao.java,CouchDBDao,deleteAllPreparationAnswers,#Session#,2101

Before Change


	public void deleteAllPreparationAnswers(final Session session) {
		final List<Question> questions = getQuestions(new NovaView("skill_question/preparation_question_by_session"), session);
		getDatabaseDao().resetQuestionsRoundState(session, questions);
		deleteAllAnswersForQuestions(questions);
	}

	/* TODO: Only evict cache entry for the answer's question. This requires some refactoring. */

After Change


		final List<Question> questions = getQuestions(new NovaView("skill_question/preparation_question_by_session"), session);
		getDatabaseDao().resetQuestionsRoundState(session, questions);

		return deleteAllAnswersForQuestions(questions);
	}

	/* TODO: Only evict cache entry for the answer's question. This requires some refactoring. */